package kr.co.hpc.partner.dao;

import java.util.List;

import org.mybatis.spring.support.SqlSessionDaoSupport;
import kr.co.hpc.partner.vo.UserVo;

public class UserDao extends SqlSessionDaoSupport {
	
	public int count(UserVo uv){
		System.out.println("count getUserId = " + uv.getUserId() + "   getUserPw = " + uv.getUserPw());
//		Object ob = getSqlSession().selectOne("user.countUser");
		List list = getSqlSession().selectList("user.countUser");
//		list.get(0).
		int rs = 0;
		System.out.println("userDao rs = " + rs);
		return rs;
	}
	
}
